<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><!-- InstanceBegin template="/Templates/Function Info.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>WinXNewToolbarUsingIls</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<style type="text/css">
<!--
.style3 {font-size: medium}
-->
</style>

<link href="../../WinXStyles.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {
	font-size: x-large;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style2 {
	font-size: large;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
-->
</style>
</head>

<body>
<h1 class="style1"><img src="../../WinX48.png" width="48" height="48" align="absmiddle"> <!-- InstanceBeginEditable name="title" -->WinXNewToolbarUsingIls<!-- InstanceEndEditable --></h1>
<hr>

<!-- InstanceBeginEditable name="Prototype" -->
<p>hToolbar = WinXNewToolbarUsingIls (hilMain, hilGray, hilHot, toolTips, customisable) </p>
<!-- InstanceEndEditable --><!-- InstanceBeginEditable name="Description" -->
<p>Makes a new toolbar using the pre built image lists.</p>
<!-- InstanceEndEditable -->
<table width="80%" border="1" cellpadding="0" cellspacing="0">
  <tr bgcolor="#CCCCCC">
    <th width="24%"><span class="style3">Parameter</span></th>
    <th width="76%"><span class="style3">Description</span></th>
  </tr>
  <!-- InstanceBeginRepeat name="Parameter Table" --><!-- InstanceBeginRepeatEntry -->
  <tr bgcolor="#E8E8E8">
    <td><!-- InstanceBeginEditable name="Parameter" -->hilMain<!-- InstanceEndEditable --></td>
    <td><!-- InstanceBeginEditable name="Description" -->The image list containing the main button images <!-- InstanceEndEditable --></td>
  </tr>
  <!-- InstanceEndRepeatEntry --><!-- InstanceBeginRepeatEntry -->
  <tr bgcolor="#E8E8E8">
    <td><!-- InstanceBeginEditable name="Parameter" -->hilGray<!-- InstanceEndEditable --></td>
    <td><!-- InstanceBeginEditable name="Description" -->The image list containing the images to use when the buttons are disabled <!-- InstanceEndEditable --></td>
  </tr>
  <!-- InstanceEndRepeatEntry --><!-- InstanceBeginRepeatEntry -->
  <tr bgcolor="#E8E8E8">
    <td><!-- InstanceBeginEditable name="Parameter" -->hilHot<!-- InstanceEndEditable --></td>
    <td><!-- InstanceBeginEditable name="Description" -->The image list containing the images to use when the mouse is moved over the buttons. <!-- InstanceEndEditable --></td>
  </tr>
  <!-- InstanceEndRepeatEntry --><!-- InstanceBeginRepeatEntry -->
  <tr bgcolor="#E8E8E8">
    <td><!-- InstanceBeginEditable name="Parameter" -->toolTips<!-- InstanceEndEditable --></td>
    <td><!-- InstanceBeginEditable name="Description" -->$$TRUE to use tooltips, $$FALSE to disable them <!-- InstanceEndEditable --></td>
  </tr>
  <!-- InstanceEndRepeatEntry --><!-- InstanceBeginRepeatEntry -->
  <tr bgcolor="#E8E8E8">
    <td><!-- InstanceBeginEditable name="Parameter" -->customisable<!-- InstanceEndEditable --></td>
    <td><!-- InstanceBeginEditable name="Description" -->NOT IMPLEMENTED YET, USE $$FALSE<!-- InstanceEndEditable --></td>
  </tr>
  <!-- InstanceEndRepeatEntry --><!-- InstanceEndRepeat -->
</table>
<h3>Returns</h3>
<!-- InstanceBeginEditable name="Return Info" -->The handle to the toolbar or 0 on fail <!-- InstanceEndEditable -->
<h3>Remarks</h3>
<!-- InstanceBeginEditable name="Remarks" -->
<p>This function is called internally by <a href="WinXNewToolbar.htm">WinXNewToolbar</a> after it has generated the image lists. The image lists must all contain the same number of images, and the image in each image list must correspond to the same image in a different state in the other image lists.</p>
<p>This function is provided in case you need to construct your own image lists, for example, if you are using icons for your images instead of bitmaps.</p>
<!-- InstanceEndEditable -->
<h3>Examples</h3>
<table width="80%"  border="0">
  <tr>
    <td bgcolor="#C6C6FF"><!-- InstanceBeginEditable name="Example Code" -->
      <p class="codeStyle">'assume the programmer has already generated the image lists <br>
      WinXNewToolbarUsingIls (hilMain, hilGray, hilHot, $$TRUE, $$FALSE)</p>
    <!-- InstanceEndEditable --></td>
  </tr>
</table>

<h2 class="style2">Related Links</h2>
<!-- InstanceBeginEditable name="Related Links" -->
<p><a href="WinXNewToolbar.htm">WinXNewToolbar</a><br>
  <a href="WinXSetWindowToolbar.htm">WinXSetWindowToolbar</a>  <br>
<a href="WinXToolbar_AddButton.htm">WinXToolbar_AddButton</a></p>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>
